package v2

import (
	"ginweb/internal/controller"

	"github.com/gin-gonic/gin"
)

func RegisterUserRoutes(r *gin.RouterGroup) {
	userController := controller.NewUserController(nil, nil)

	r.POST("/users", userController.CreateUser)
	r.GET("/users", userController.GetUsers)
	r.PUT("/users", userController.UpdateUser)
	r.DELETE("/users/:id", userController.DeleteUser)
}
